import axios from "axios";

export const getBannerList = () => {
    return axios({
        method: 'get',
        url: 'http://api.yuguoxy.com/api/shop/banner'
    })
}

export const getGoodsList = (page, size) => {
    return axios({
        method: 'get',
        url: 'http://api.yuguoxy.com/api/shop/list',
        params: {
            page,
            size
        }
    })
}